package com.situ.user.controller.api;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.situ.user.service.GoodsSortService;

/**
 * 
 * @author: JavaSiegeLoin(Gang)
 * @E-mail: wzg15653@163.com
 * @创建日期: 2021年10月21日 上午11:15:52
 * @ClassName: APIGoodsSortController
 * @类描述-Description:获取商品分类信息的接口
 */
@RestController
@RequestMapping("/api/goodsSort")
public class APIGoodsSortController {

	@Autowired
	private GoodsSortService goodsSortService;

	@GetMapping("/getParent")
	public List getParent() {

		List list = goodsSortService.getParent();
		return list;

	}
}
